<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>颜色</title>
    <style>
        #d1{
            width: 200px;
            height: 200px;
            background-color: lime;
            background-image: url("b.jpg");
            background-size: 100px 100px;
            background-repeat: no-repeat;
            background-position: 20px 50px;
        }
    </style>
</head>
<body>
<div id="d3"></div>
<div id="d2"></div>
<div id="d1"></div>
<h1>颜色测试</h1>
</body>
</html>